<%@ page language="java" contentType="text/html; charset=GBK"  
    pageEncoding="GBK"%>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  
<html>  
<head>  
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link href="../style/stylesheet.css" rel="stylesheet" type="text/css" />  
<title>PollMaster: Voting Administration</title>  
<style type="text/css">  
body{   
 color : #000 ;   
 font-size : 12px ;   
  
 margin : 0px auto ;   
 }   
  
</style>  
<script type="text/javascript">  
    function check(form){   
        if(document.forms.form1.username.value==""){   
            //alert("pls input username");   
            document.forms.form1.username.focus();   
            return false;   
        }   
                if(document.forms.form1.password.value==""){   
          // alert("pls input password");   
            document.forms.form1.password.focus();   
            return false;   
        }   
    }   
  
</script>  
</head>  


<body>  
<h3>PollMaster: Voting Administration</h3>
<p class="exampleText">Here is some example text to play with.</p>
<form action="VotingAdminServlet" method="post" name="form1">  
       
<table border="1" cellspacing="1" cellpadding="1"  bordercolor="silver" align="center">  
   <tr>  
      <td colspan="2" align="center" bgcolor="#e8e8e8">Login</td>  
   </tr>  
   <tr>  
      <td>QuestionID</td>  
      <td><input type="text" name="questionId"/></td>  
   </tr>  
   <tr>  
      <td><a href="rsg.jsp" >rgs</a></td>  
      <!-- onclick="return check(this) Script -->  
      <td><input type="submit" name="submit" value="Close Voting" onclick="return check(this);"/><input type="reset" name="reset"/></td>  
   </tr>  
</table>  
  
</form>  
</body>  
</html>  
